package o;

import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import o.dky.h;

public class enz {
    public static void ˊ(View view, final Context context) {
        view.findViewById(h.ـॱ).setOnClickListener(new OnClickListener() {
            public void onClick(View view) {
                if (context == null) {
                    Logger.e("WebViewErrorUtil", "webErrorGlobalView onSetting, context is null");
                } else {
                    eth.ˊ(context);
                }
            }
        });
        View findViewById = view.findViewById(h.ˉ);
        if (!((etj) cdb.ॱ(etj.class)).ॱ()) {
            findViewById.setVisibility(8);
        }
        if (findViewById != null) {
            findViewById.setOnClickListener(new OnClickListener() {
                public void onClick(View view) {
                    eth.ॱ(context);
                }
            });
        }
    }
}
